package com.yangxiangrice.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yangxiangrice.mapper.AgItemListingMapper;
import com.yangxiangrice.pojo.AgItemListing;
import com.yangxiangrice.pojo.BasList;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;

public interface AgItemListingService extends IService<AgItemListing> {

    public IPage<AgItemListing> seletePage(IPage<AgItemListing> page, QueryWrapper wrapper);

    Integer getPurchaseNum(String agItemName,String relatedPerson);

    Integer getConsumeNum(String agItemName,String relatedPerson);
}
